import { Injectable } from '@angular/core';
import { Http } from '@angular/http';

@Injectable()
export class UsingService {

  constructor(
    private http:Http
  ) { }
  post(url:string,data:any){
    return this.http.post(url,data).toPromise().then(res=>{
     
    })
  }
}
